FROM registry.cn-shenzhen.aliyuncs.com/pcauto-public/openjdk:11-jre
LABEL maintainer=content-server
WORKDIR /
COPY build/libs/pc-content-server-*.jar /app.jar
#COPY jar/pc-content-server-*.jar /app.jar
ENTRYPOINT ["java", "-Duser.timezone=GMT+08", "-jar", "app.jar", "--spring.config.location=/config/application.yml"]
